package com.ysh.mybatis.pojo;


import java.util.List;

public class TStudents {

  private long id;
  private String sex;
  private String name;
  private List<TSubjects> subjects;
  private String address;

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  @Override
  public String toString() {
    return "TStudents{" +
            "id=" + id +
            ", sex='" + sex + '\'' +
            ", name='" + name + '\'' +
            ", subjects=" + subjects +
            ", address='" + address + '\'' +
            '}';
  }

  public List<TSubjects> getSubjects() {
    return subjects;
  }

  public void setSubjects(List<TSubjects> subjects) {
    this.subjects = subjects;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

}
